home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / enigma10 / enigma10.exe / Main / vb4Form1.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1999-06-12  |  36.4 KB  |  1,139 lines

  1. VERSION 4.00
  2. Begin VB.Form Form1 
  3.    BorderStyle     =   3  'Fixed Dialog
  4.    Caption         =   "VB 4 Enigma Sample"
  5.    ClientHeight    =   5100
  6.    ClientLeft      =   1200
  7.    ClientTop       =   1545
  8.    ClientWidth     =   8790
  9.    Height          =   5505
  10.    Left            =   1140
  11.    LinkTopic       =   "Form1"
  12.    MaxButton       =   0   'False
  13.    MinButton       =   0   'False
  14.    ScaleHeight     =   5100
  15.    ScaleWidth      =   8790
  16.    ShowInTaskbar   =   0   'False
  17.    Top             =   1200
  18.    Width           =   8910
  19.    Begin VB.CommandButton Command5 
  20.       Caption         =   "Encrypt File"
  21.       Height          =   345
  22.       Left            =   4635
  23.       TabIndex        =   70
  24.       Top             =   3525
  25.       Width           =   3975
  26.    End
  27.    Begin VB.Frame Frame1 
  28.       Caption         =   "Start Positions"
  29.       Height          =   1110
  30.       Index           =   2
  31.       Left            =   4635
  32.       TabIndex        =   49
  33.       Top             =   2280
  34.       Width           =   3990
  35.       Begin VB.Label Label3 
  36.          Alignment       =   2  'Center
  37.          BackColor       =   &H00FFFFFF&
  38.          BorderStyle     =   1  'Fixed Single
  39.          Caption         =   "128"
  40.          Height          =   270
  41.          Index           =   29
  42.          Left            =   180
  43.          TabIndex        =   69
  44.          Top             =   315
  45.          Width           =   435
  46.       End
  47.       Begin VB.Label Label3 
  48.          Alignment       =   2  'Center
  49.          BackColor       =   &H00FFFFFF&
  50.          BorderStyle     =   1  'Fixed Single
  51.          Caption         =   "128"
  52.          Height          =   270
  53.          Index           =   28
  54.          Left            =   900
  55.          TabIndex        =   68
  56.          Top             =   315
  57.          Width           =   435
  58.       End
  59.       Begin VB.Label Label3 
  60.          Alignment       =   2  'Center
  61.          BackColor       =   &H00FFFFFF&
  62.          BorderStyle     =   1  'Fixed Single
  63.          Caption         =   "128"
  64.          Height          =   270
  65.          Index           =   27
  66.          Left            =   1620
  67.          TabIndex        =   67
  68.          Top             =   315
  69.          Width           =   435
  70.       End
  71.       Begin VB.Label Label3 
  72.          Alignment       =   2  'Center
  73.          BackColor       =   &H00FFFFFF&
  74.          BorderStyle     =   1  'Fixed Single
  75.          Caption         =   "128"
  76.          Height          =   270
  77.          Index           =   26
  78.          Left            =   2340
  79.          TabIndex        =   66
  80.          Top             =   315
  81.          Width           =   435
  82.       End
  83.       Begin VB.Label Label3 
  84.          Alignment       =   2  'Center
  85.          BackColor       =   &H00FFFFFF&
  86.          BorderStyle     =   1  'Fixed Single
  87.          Caption         =   "128"
  88.          Height          =   270
  89.          Index           =   25
  90.          Left            =   3060
  91.          TabIndex        =   65
  92.          Top             =   315
  93.          Width           =   435
  94.       End
  95.       Begin VB.Label Label3 
  96.          Alignment       =   2  'Center
  97.          BackColor       =   &H00FFFFFF&
  98.          BorderStyle     =   1  'Fixed Single
  99.          Caption         =   "128"
  100.          Height          =   270
  101.          Index           =   24
  102.          Left            =   180
  103.          TabIndex        =   64
  104.          Top             =   645
  105.          Width           =   435
  106.       End
  107.       Begin VB.Label Label3 
  108.          Alignment       =   2  'Center
  109.          BackColor       =   &H00FFFFFF&
  110.          BorderStyle     =   1  'Fixed Single
  111.          Caption         =   "128"
  112.          Height          =   270
  113.          Index           =   23
  114.          Left            =   900
  115.          TabIndex        =   63
  116.          Top             =   630
  117.          Width           =   435
  118.       End
  119.       Begin VB.Label Label3 
  120.          Alignment       =   2  'Center
  121.          BackColor       =   &H00FFFFFF&
  122.          BorderStyle     =   1  'Fixed Single
  123.          Caption         =   "128"
  124.          Height          =   270
  125.          Index           =   22
  126.          Left            =   1620
  127.          TabIndex        =   62
  128.          Top             =   630
  129.          Width           =   435
  130.       End
  131.       Begin VB.Label Label3 
  132.          Alignment       =   2  'Center
  133.          BackColor       =   &H00FFFFFF&
  134.          BorderStyle     =   1  'Fixed Single
  135.          Caption         =   "128"
  136.          Height          =   270
  137.          Index           =   21
  138.          Left            =   2340
  139.          TabIndex        =   61
  140.          Top             =   630
  141.          Width           =   435
  142.       End
  143.       Begin VB.Label Label3 
  144.          Alignment       =   2  'Center
  145.          BackColor       =   &H00FFFFFF&
  146.          BorderStyle     =   1  'Fixed Single
  147.          Caption         =   "128"
  148.          Height          =   270
  149.          Index           =   20
  150.          Left            =   3060
  151.          TabIndex        =   60
  152.          Top             =   630
  153.          Width           =   435
  154.       End
  155.       Begin Spin.SpinButton SpinButton1 
  156.          Height          =   270
  157.          Index           =   29
  158.          Left            =   645
  159.          TabIndex        =   59
  160.          Top             =   315
  161.          Width           =   210
  162.          _Version        =   65536
  163.          _ExtentX        =   370
  164.          _ExtentY        =   476
  165.          _StockProps     =   73
  166.          BorderColor     =   0
  167.          ShadeColor      =   8421504
  168.          ShadowThickness =   1
  169.       End
  170.       Begin Spin.SpinButton SpinButton1 
  171.          Height          =   270
  172.          Index           =   28
  173.          Left            =   1365
  174.          TabIndex        =   58
  175.          Top             =   315
  176.          Width           =   210
  177.          _Version        =   65536
  178.          _ExtentX        =   370
  179.          _ExtentY        =   476
  180.          _StockProps     =   73
  181.          BorderColor     =   0
  182.          ShadeColor      =   8421504
  183.          ShadowThickness =   1
  184.       End
  185.       Begin Spin.SpinButton SpinButton1 
  186.          Height          =   270
  187.          Index           =   27
  188.          Left            =   2085
  189.          TabIndex        =   57
  190.          Top             =   315
  191.          Width           =   210
  192.          _Version        =   65536
  193.          _ExtentX        =   370
  194.          _ExtentY        =   476
  195.          _StockProps     =   73
  196.          BorderColor     =   0
  197.          ShadeColor      =   8421504
  198.          ShadowThickness =   1
  199.       End
  200.       Begin Spin.SpinButton SpinButton1 
  201.          Height          =   270
  202.          Index           =   26
  203.          Left            =   2805
  204.          TabIndex        =   56
  205.          Top             =   315
  206.          Width           =   210
  207.          _Version        =   65536
  208.          _ExtentX        =   370
  209.          _ExtentY        =   476
  210.          _StockProps     =   73
  211.          BorderColor     =   0
  212.          ShadeColor      =   8421504
  213.          ShadowThickness =   1
  214.       End
  215.       Begin Spin.SpinButton SpinButton1 
  216.          Height          =   270
  217.          Index           =   25
  218.          Left            =   3525
  219.          TabIndex        =   55
  220.          Top             =   315
  221.          Width           =   210
  222.          _Version        =   65536
  223.          _ExtentX        =   370
  224.          _ExtentY        =   476
  225.          _StockProps     =   73
  226.          BorderColor     =   0
  227.          ShadeColor      =   8421504
  228.          ShadowThickness =   1
  229.       End
  230.       Begin Spin.SpinButton SpinButton1 
  231.          Height          =   270
  232.          Index           =   24
  233.          Left            =   645
  234.          TabIndex        =   54
  235.          Top             =   645
  236.          Width           =   210
  237.          _Version        =   65536
  238.          _ExtentX        =   370
  239.          _ExtentY        =   476
  240.          _StockProps     =   73
  241.          BorderColor     =   0
  242.          ShadeColor      =   8421504
  243.          ShadowThickness =   1
  244.       End
  245.       Begin Spin.SpinButton SpinButton1 
  246.          Height          =   270
  247.          Index           =   23
  248.          Left            =   1365
  249.          TabIndex        =   53
  250.          Top             =   630
  251.          Width           =   210
  252.          _Version        =   65536
  253.          _ExtentX        =   370
  254.          _ExtentY        =   476
  255.          _StockProps     =   73
  256.          BorderColor     =   0
  257.          ShadeColor      =   8421504
  258.          ShadowThickness =   1
  259.       End
  260.       Begin Spin.SpinButton SpinButton1 
  261.          Height          =   270
  262.          Index           =   22
  263.          Left            =   2085
  264.          TabIndex        =   52
  265.          Top             =   630
  266.          Width           =   210
  267.          _Version        =   65536
  268.          _ExtentX        =   370
  269.          _ExtentY        =   476
  270.          _StockProps     =   73
  271.          BorderColor     =   0
  272.          ShadeColor      =   8421504
  273.          ShadowThickness =   1
  274.       End
  275.       Begin Spin.SpinButton SpinButton1 
  276.          Height          =   270
  277.          Index           =   21
  278.          Left            =   2805
  279.          TabIndex        =   51
  280.          Top             =   630
  281.          Width           =   210
  282.          _Version        =   65536
  283.          _ExtentX        =   370
  284.          _ExtentY        =   476
  285.          _StockProps     =   73
  286.          BorderColor     =   0
  287.          ShadeColor      =   8421504
  288.          ShadowThickness =   1
  289.       End
  290.       Begin Spin.SpinButton SpinButton1 
  291.          Height          =   270
  292.          Index           =   20
  293.          Left            =   3525
  294.          TabIndex        =   50
  295.          Top             =   630
  296.          Width           =   210
  297.          _Version        =   65536
  298.          _ExtentX        =   370
  299.          _ExtentY        =   476
  300.          _StockProps     =   73
  301.          BorderColor     =   0
  302.          ShadeColor      =   8421504
  303.          ShadowThickness =   1
  304.       End
  305.    End
  306.    Begin VB.Frame Frame1 
  307.       Caption         =   "Ring Settings"
  308.       Height          =   1110
  309.       Index           =   1
  310.       Left            =   4635
  311.       TabIndex        =   28
  312.       Top             =   1155
  313.       Width           =   3990
  314.       Begin VB.Label Label3 
  315.          Alignment       =   2  'Center
  316.          BackColor       =   &H00FFFFFF&
  317.          BorderStyle     =   1  'Fixed Single
  318.          Caption         =   "1"
  319.          Height          =   270
  320.          Index           =   19
  321.          Left            =   180
  322.          TabIndex        =   48
  323.          Top             =   315
  324.          Width           =   435
  325.       End
  326.       Begin VB.Label Label3 
  327.          Alignment       =   2  'Center
  328.          BackColor       =   &H00FFFFFF&
  329.          BorderStyle     =   1  'Fixed Single
  330.          Caption         =   "1"
  331.          Height          =   270
  332.          Index           =   18
  333.          Left            =   900
  334.          TabIndex        =   47
  335.          Top             =   315
  336.          Width           =   435
  337.       End
  338.       Begin VB.Label Label3 
  339.          Alignment       =   2  'Center
  340.          BackColor       =   &H00FFFFFF&
  341.          BorderStyle     =   1  'Fixed Single
  342.          Caption         =   "1"
  343.          Height          =   270
  344.          Index           =   17
  345.          Left            =   1620
  346.          TabIndex        =   46
  347.          Top             =   315
  348.          Width           =   435
  349.       End
  350.       Begin VB.Label Label3 
  351.          Alignment       =   2  'Center
  352.          BackColor       =   &H00FFFFFF&
  353.          BorderStyle     =   1  'Fixed Single
  354.          Caption         =   "1"
  355.          Height          =   270
  356.          Index           =   16
  357.          Left            =   2340
  358.          TabIndex        =   45
  359.          Top             =   315
  360.          Width           =   435
  361.       End
  362.       Begin VB.Label Label3 
  363.          Alignment       =   2  'Center
  364.          BackColor       =   &H00FFFFFF&
  365.          BorderStyle     =   1  'Fixed Single
  366.          Caption         =   "1"
  367.          Height          =   270
  368.          Index           =   15
  369.          Left            =   3060
  370.          TabIndex        =   44
  371.          Top             =   315
  372.          Width           =   435
  373.       End
  374.       Begin VB.Label Label3 
  375.          Alignment       =   2  'Center
  376.          BackColor       =   &H00FFFFFF&
  377.          BorderStyle     =   1  'Fixed Single
  378.          Caption         =   "1"
  379.          Height          =   270
  380.          Index           =   14
  381.          Left            =   180
  382.          TabIndex        =   43
  383.          Top             =   645
  384.          Width           =   435
  385.       End
  386.       Begin VB.Label Label3 
  387.          Alignment       =   2  'Center
  388.          BackColor       =   &H00FFFFFF&
  389.          BorderStyle     =   1  'Fixed Single
  390.          Caption         =   "1"
  391.          Height          =   270
  392.          Index           =   13
  393.          Left            =   900
  394.          TabIndex        =   42
  395.          Top             =   630
  396.          Width           =   435
  397.       End
  398.       Begin VB.Label Label3 
  399.          Alignment       =   2  'Center
  400.          BackColor       =   &H00FFFFFF&
  401.          BorderStyle     =   1  'Fixed Single
  402.          Caption         =   "1"
  403.          Height          =   270
  404.          Index           =   12
  405.          Left            =   1620
  406.          TabIndex        =   41
  407.          Top             =   630
  408.          Width           =   435
  409.       End
  410.       Begin VB.Label Label3 
  411.          Alignment       =   2  'Center
  412.          BackColor       =   &H00FFFFFF&
  413.          BorderStyle     =   1  'Fixed Single
  414.          Caption         =   "1"
  415.          Height          =   270
  416.          Index           =   11
  417.          Left            =   2340
  418.          TabIndex        =   40
  419.          Top             =   630
  420.          Width           =   435
  421.       End
  422.       Begin VB.Label Label3 
  423.          Alignment       =   2  'Center
  424.          BackColor       =   &H00FFFFFF&
  425.          BorderStyle     =   1  'Fixed Single
  426.          Caption         =   "1"
  427.          Height          =   270
  428.          Index           =   10
  429.          Left            =   3060
  430.          TabIndex        =   39
  431.          Top             =   630
  432.          Width           =   435
  433.       End
  434.       Begin Spin.SpinButton SpinButton1 
  435.          Height          =   270
  436.          Index           =   19
  437.          Left            =   645
  438.          TabIndex        =   38
  439.          Top             =   315
  440.          Width           =   210
  441.          _Version        =   65536
  442.          _ExtentX        =   370
  443.          _ExtentY        =   476
  444.          _StockProps     =   73
  445.          BorderColor     =   0
  446.          ShadeColor      =   8421504
  447.          ShadowThickness =   1
  448.       End
  449.       Begin Spin.SpinButton SpinButton1 
  450.          Height          =   270
  451.          Index           =   18
  452.          Left            =   1365
  453.          TabIndex        =   37
  454.          Top             =   315
  455.          Width           =   210
  456.          _Version        =   65536
  457.          _ExtentX        =   370
  458.          _ExtentY        =   476
  459.          _StockProps     =   73
  460.          BorderColor     =   0
  461.          ShadeColor      =   8421504
  462.          ShadowThickness =   1
  463.       End
  464.       Begin Spin.SpinButton SpinButton1 
  465.          Height          =   270
  466.          Index           =   17
  467.          Left            =   2085
  468.          TabIndex        =   36
  469.          Top             =   315
  470.          Width           =   210
  471.          _Version        =   65536
  472.          _ExtentX        =   370
  473.          _ExtentY        =   476
  474.          _StockProps     =   73
  475.          BorderColor     =   0
  476.          ShadeColor      =   8421504
  477.          ShadowThickness =   1
  478.       End
  479.       Begin Spin.SpinButton SpinButton1 
  480.          Height          =   270
  481.          Index           =   16
  482.          Left            =   2805
  483.          TabIndex        =   35
  484.          Top             =   315
  485.          Width           =   210
  486.          _Version        =   65536
  487.          _ExtentX        =   370
  488.          _ExtentY        =   476
  489.          _StockProps     =   73
  490.          BorderColor     =   0
  491.          ShadeColor      =   8421504
  492.          ShadowThickness =   1
  493.       End
  494.       Begin Spin.SpinButton SpinButton1 
  495.          Height          =   270
  496.          Index           =   15
  497.          Left            =   3525
  498.          TabIndex        =   34
  499.          Top             =   315
  500.          Width           =   210
  501.          _Version        =   65536
  502.          _ExtentX        =   370
  503.          _ExtentY        =   476
  504.          _StockProps     =   73
  505.          BorderColor     =   0
  506.          ShadeColor      =   8421504
  507.          ShadowThickness =   1
  508.       End
  509.       Begin Spin.SpinButton SpinButton1 
  510.          Height          =   270
  511.          Index           =   14
  512.          Left            =   645
  513.          TabIndex        =   33
  514.          Top             =   645
  515.          Width           =   210
  516.          _Version        =   65536
  517.          _ExtentX        =   370
  518.          _ExtentY        =   476
  519.          _StockProps     =   73
  520.          BorderColor     =   0
  521.          ShadeColor      =   8421504
  522.          ShadowThickness =   1
  523.       End
  524.       Begin Spin.SpinButton SpinButton1 
  525.          Height          =   270
  526.          Index           =   13
  527.          Left            =   1365
  528.          TabIndex        =   32
  529.          Top             =   630
  530.          Width           =   210
  531.          _Version        =   65536
  532.          _ExtentX        =   370
  533.          _ExtentY        =   476
  534.          _StockProps     =   73
  535.          BorderColor     =   0
  536.          ShadeColor      =   8421504
  537.          ShadowThickness =   1
  538.       End
  539.       Begin Spin.SpinButton SpinButton1 
  540.          Height          =   270
  541.          Index           =   12
  542.          Left            =   2085
  543.          TabIndex        =   31
  544.          Top             =   630
  545.          Width           =   210
  546.          _Version        =   65536
  547.          _ExtentX        =   370
  548.          _ExtentY        =   476
  549.          _StockProps     =   73
  550.          BorderColor     =   0
  551.          ShadeColor      =   8421504
  552.          ShadowThickness =   1
  553.       End
  554.       Begin Spin.SpinButton SpinButton1 
  555.          Height          =   270
  556.          Index           =   11
  557.          Left            =   2805
  558.          TabIndex        =   30
  559.          Top             =   630
  560.          Width           =   210
  561.          _Version        =   65536
  562.          _ExtentX        =   370
  563.          _ExtentY        =   476
  564.          _StockProps     =   73
  565.          BorderColor     =   0
  566.          ShadeColor      =   8421504
  567.          ShadowThickness =   1
  568.       End
  569.       Begin Spin.SpinButton SpinButton1 
  570.          Height          =   270
  571.          Index           =   10
  572.          Left            =   3525
  573.          TabIndex        =   29
  574.          Top             =   630
  575.          Width           =   210
  576.          _Version        =   65536
  577.          _ExtentX        =   370
  578.          _ExtentY        =   476
  579.          _StockProps     =   73
  580.          BorderColor     =   0
  581.          ShadeColor      =   8421504
  582.          ShadowThickness =   1
  583.       End
  584.    End
  585.    Begin VB.Frame Frame1 
  586.       Caption         =   "Rotor Order"
  587.       Height          =   1110
  588.       Index           =   0
  589.       Left            =   4635
  590.       TabIndex        =   7
  591.       Top             =   30
  592.       Width           =   3990
  593.       Begin Spin.SpinButton SpinButton1 
  594.          Height          =   270
  595.          Index           =   9
  596.          Left            =   3525
  597.          TabIndex        =   27
  598.          Top             =   630
  599.          Width           =   210
  600.          _Version        =   65536
  601.          _ExtentX        =   370
  602.          _ExtentY        =   476
  603.          _StockProps     =   73
  604.          BorderColor     =   0
  605.          ShadeColor      =   8421504
  606.          ShadowThickness =   1
  607.       End
  608.       Begin Spin.SpinButton SpinButton1 
  609.          Height          =   270
  610.          Index           =   8
  611.          Left            =   2805
  612.          TabIndex        =   26
  613.          Top             =   630
  614.          Width           =   210
  615.          _Version        =   65536
  616.          _ExtentX        =   370
  617.          _ExtentY        =   476
  618.          _StockProps     =   73
  619.          BorderColor     =   0
  620.          ShadeColor      =   8421504
  621.          ShadowThickness =   1
  622.       End
  623.       Begin Spin.SpinButton SpinButton1 
  624.          Height          =   270
  625.          Index           =   7
  626.          Left            =   2085
  627.          TabIndex        =   25
  628.          Top             =   630
  629.          Width           =   210
  630.          _Version        =   65536
  631.          _ExtentX        =   370
  632.          _ExtentY        =   476
  633.          _StockProps     =   73
  634.          BorderColor     =   0
  635.          ShadeColor      =   8421504
  636.          ShadowThickness =   1
  637.       End
  638.       Begin Spin.SpinButton SpinButton1 
  639.          Height          =   270
  640.          Index           =   6
  641.          Left            =   1365
  642.          TabIndex        =   24
  643.          Top             =   630
  644.          Width           =   210
  645.          _Version        =   65536
  646.          _ExtentX        =   370
  647.          _ExtentY        =   476
  648.          _StockProps     =   73
  649.          BorderColor     =   0
  650.          ShadeColor      =   8421504
  651.          ShadowThickness =   1
  652.       End
  653.       Begin Spin.SpinButton SpinButton1 
  654.          Height          =   270
  655.          Index           =   5
  656.          Left            =   645
  657.          TabIndex        =   23
  658.          Top             =   645
  659.          Width           =   210
  660.          _Version        =   65536
  661.          _ExtentX        =   370
  662.          _ExtentY        =   476
  663.          _StockProps     =   73
  664.          BorderColor     =   0
  665.          ShadeColor      =   8421504
  666.          ShadowThickness =   1
  667.       End
  668.       Begin Spin.SpinButton SpinButton1 
  669.          Height          =   270
  670.          Index           =   4
  671.          Left            =   3525
  672.          TabIndex        =   22
  673.          Top             =   315
  674.          Width           =   210
  675.          _Version        =   65536
  676.          _ExtentX        =   370
  677.          _ExtentY        =   476
  678.          _StockProps     =   73
  679.          BorderColor     =   0
  680.          ShadeColor      =   8421504
  681.          ShadowThickness =   1
  682.       End
  683.       Begin Spin.SpinButton SpinButton1 
  684.          Height          =   270
  685.          Index           =   3
  686.          Left            =   2805
  687.          TabIndex        =   21
  688.          Top             =   315
  689.          Width           =   210
  690.          _Version        =   65536
  691.          _ExtentX        =   370
  692.          _ExtentY        =   476
  693.          _StockProps     =   73
  694.          BorderColor     =   0
  695.          ShadeColor      =   8421504
  696.          ShadowThickness =   1
  697.       End
  698.       Begin Spin.SpinButton SpinButton1 
  699.          Height          =   270
  700.          Index           =   2
  701.          Left            =   2085
  702.          TabIndex        =   20
  703.          Top             =   315
  704.          Width           =   210
  705.          _Version        =   65536
  706.          _ExtentX        =   370
  707.          _ExtentY        =   476
  708.          _StockProps     =   73
  709.          BorderColor     =   0
  710.          ShadeColor      =   8421504
  711.          ShadowThickness =   1
  712.       End
  713.       Begin Spin.SpinButton SpinButton1 
  714.          Height          =   270
  715.          Index           =   1
  716.          Left            =   1365
  717.          TabIndex        =   19
  718.          Top             =   315
  719.          Width           =   210
  720.          _Version        =   65536
  721.          _ExtentX        =   370
  722.          _ExtentY        =   476
  723.          _StockProps     =   73
  724.          BorderColor     =   0
  725.          ShadeColor      =   8421504
  726.          ShadowThickness =   1
  727.       End
  728.       Begin Spin.SpinButton SpinButton1 
  729.          Height          =   270
  730.          Index           =   0
  731.          Left            =   645
  732.          TabIndex        =   18
  733.          Top             =   315
  734.          Width           =   210
  735.          _Version        =   65536
  736.          _ExtentX        =   370
  737.          _ExtentY        =   476
  738.          _StockProps     =   73
  739.          BorderColor     =   0
  740.          ShadeColor      =   8421504
  741.          ShadowThickness =   1
  742.       End
  743.       Begin VB.Label Label3 
  744.          Alignment       =   2  'Center
  745.          BackColor       =   &H00FFFFFF&
  746.          BorderStyle     =   1  'Fixed Single
  747.          Caption         =   "10"
  748.          Height          =   270
  749.          Index           =   9
  750.          Left            =   3060
  751.          TabIndex        =   17
  752.          Top             =   630
  753.          Width           =   435
  754.       End
  755.       Begin VB.Label Label3 
  756.          Alignment       =   2  'Center
  757.          BackColor       =   &H00FFFFFF&
  758.          BorderStyle     =   1  'Fixed Single
  759.          Caption         =   "9"
  760.          Height          =   270
  761.          Index           =   8
  762.          Left            =   2340
  763.          TabIndex        =   16
  764.          Top             =   630
  765.          Width           =   435
  766.       End
  767.       Begin VB.Label Label3 
  768.          Alignment       =   2  'Center
  769.          BackColor       =   &H00FFFFFF&
  770.          BorderStyle     =   1  'Fixed Single
  771.          Caption         =   "8"
  772.          Height          =   270
  773.          Index           =   7
  774.          Left            =   1620
  775.          TabIndex        =   15
  776.          Top             =   630
  777.          Width           =   435
  778.       End
  779.       Begin VB.Label Label3 
  780.          Alignment       =   2  'Center
  781.          BackColor       =   &H00FFFFFF&
  782.          BorderStyle     =   1  'Fixed Single
  783.          Caption         =   "7"
  784.          Height          =   270
  785.          Index           =   6
  786.          Left            =   900
  787.          TabIndex        =   14
  788.          Top             =   630
  789.          Width           =   435
  790.       End
  791.       Begin VB.Label Label3 
  792.          Alignment       =   2  'Center
  793.          BackColor       =   &H00FFFFFF&
  794.          BorderStyle     =   1  'Fixed Single
  795.          Caption         =   "6"
  796.          Height          =   270
  797.          Index           =   5
  798.          Left            =   180
  799.          TabIndex        =   13
  800.          Top             =   645
  801.          Width           =   435
  802.       End
  803.       Begin VB.Label Label3 
  804.          Alignment       =   2  'Center
  805.          BackColor       =   &H00FFFFFF&
  806.          BorderStyle     =   1  'Fixed Single
  807.          Caption         =   "5"
  808.          Height          =   270
  809.          Index           =   4
  810.          Left            =   3060
  811.          TabIndex        =   12
  812.          Top             =   315
  813.          Width           =   435
  814.       End
  815.       Begin VB.Label Label3 
  816.          Alignment       =   2  'Center
  817.          BackColor       =   &H00FFFFFF&
  818.          BorderStyle     =   1  'Fixed Single
  819.          Caption         =   "4"
  820.          Height          =   270
  821.          Index           =   3
  822.          Left            =   2340
  823.          TabIndex        =   11
  824.          Top             =   315
  825.          Width           =   435
  826.       End
  827.       Begin VB.Label Label3 
  828.          Alignment       =   2  'Center
  829.          BackColor       =   &H00FFFFFF&
  830.          BorderStyle     =   1  'Fixed Single
  831.          Caption         =   "3"
  832.          Height          =   270
  833.          Index           =   2
  834.          Left            =   1620
  835.          TabIndex        =   10
  836.          Top             =   315
  837.          Width           =   435
  838.       End
  839.       Begin VB.Label Label3 
  840.          Alignment       =   2  'Center
  841.          BackColor       =   &H00FFFFFF&
  842.          BorderStyle     =   1  'Fixed Single
  843.          Caption         =   "2"
  844.          Height          =   270
  845.          Index           =   1
  846.          Left            =   900
  847.          TabIndex        =   9
  848.          Top             =   315
  849.          Width           =   435
  850.       End
  851.       Begin VB.Label Label3 
  852.          Alignment       =   2  'Center
  853.          BackColor       =   &H00FFFFFF&
  854.          BorderStyle     =   1  'Fixed Single
  855.          Caption         =   "1"
  856.          Height          =   270
  857.          Index           =   0
  858.          Left            =   180
  859.          TabIndex        =   8
  860.          Top             =   315
  861.          Width           =   435
  862.       End
  863.    End
  864.    Begin VB.CommandButton Command3 
  865.       Caption         =   "Clear"
  866.       Height          =   345
  867.       Left            =   7365
  868.       TabIndex        =   6
  869.       Top             =   3975
  870.       Width           =   1245
  871.    End
  872.    Begin VB.CommandButton Command2 
  873.       Caption         =   "Swap"
  874.       Height          =   345
  875.       Left            =   5970
  876.       TabIndex        =   5
  877.       Top             =   3975
  878.       Width           =   1245
  879.    End
  880.    Begin VB.CommandButton Command1 
  881.       Caption         =   "Encrypt"
  882.       Height          =   345
  883.       Left            =   4620
  884.       TabIndex        =   4
  885.       Top             =   3975
  886.       Width           =   1245
  887.    End
  888.    Begin Enigma10.EnigmaControl EnigmaControl1 
  889.       Left            =   3960
  890.       Top             =   2520
  891.       _ExtentX        =   847
  892.       _ExtentY        =   847
  893.    End
  894.    Begin ComctlLib.ProgressBar ProgressBar1 
  895.       Height          =   300
  896.       Left            =   4620
  897.       TabIndex        =   71
  898.       Top             =   4590
  899.       Width           =   4035
  900.       _ExtentX        =   7117
  901.       _ExtentY        =   529
  902.       _Version        =   327680
  903.       BorderStyle     =   1
  904.       Appearance      =   1
  905.       MouseIcon       =   "Form1.frx":0000
  906.    End
  907.    Begin MSComDlg.CommonDialog CommonDialog1 
  908.       Left            =   8205
  909.       Top             =   4965
  910.       _ExtentX        =   847
  911.       _ExtentY        =   847
  912.       _Version        =   327680
  913.    End
  914.    Begin VB.Label Label2 
  915.       AutoSize        =   -1  'True
  916.       Caption         =   "After"
  917.       Height          =   195
  918.       Left            =   120
  919.       TabIndex        =   3
  920.       Top             =   2475
  921.       Width           =   330
  922.    End
  923.    Begin VB.Label Label1 
  924.       AutoSize        =   -1  'True
  925.       Caption         =   "Before"
  926.       Height          =   195
  927.       Left            =   105
  928.       TabIndex        =   2
  929.       Top             =   45
  930.       Width           =   465
  931.    End
  932.    Begin RichTextLib.RichTextBox RichTextBox2 
  933.       Height          =   2190
  934.       Left            =   105
  935.       TabIndex        =   1
  936.       Top             =   2700
  937.       Width           =   4335
  938.       _ExtentX        =   7646
  939.       _ExtentY        =   3863
  940.       _Version        =   327680
  941.       Enabled         =   -1  'True
  942.       TextRTF         =   $"Form1.frx":001C
  943.    End
  944.    Begin RichTextLib.RichTextBox RichTextBox1 
  945.       Height          =   2055
  946.       Left            =   105
  947.       TabIndex        =   0
  948.       Top             =   330
  949.       Width           =   4335
  950.       _ExtentX        =   7646
  951.       _ExtentY        =   3625
  952.       _Version        =   327680
  953.       Enabled         =   -1  'True
  954.       TextRTF         =   $"Form1.frx":00E5
  955.    End
  956. Attribute VB_Name = "Form1"
  957. Attribute VB_Creatable = False
  958. Attribute VB_Exposed = False
  959. Private Sub Command1_Click()
  960. EnigmaControl1.Text = RichTextBox1.Text
  961. EnigmaControl1.Encrypt
  962. RichTextBox2.Text = EnigmaControl1.Text
  963. End Sub
  964. Private Sub Command2_Click()
  965. RichTextBox1.Text = RichTextBox2.Text
  966. End Sub
  967. Private Sub Command3_Click()
  968. RichTextBox2.Text = ""
  969. End Sub
  970. Private Sub Command5_Click()
  971. CommonDialog1.DialogTitle = "Open Text File"
  972. CommonDialog1.Filter = "Any File (*.*)|*.*"
  973. CommonDialog1.Action = 1
  974. If CommonDialog1.filename <> "" Then
  975.   EnigmaControl1.SourceFile = CommonDialog1.filename
  976.   EnigmaControl1.TargetFile = "c:\test.txt"
  977.   EnigmaControl1.EncryptFile ProgressBar1
  978.   Kill CommonDialog1.filename
  979.   Name "c:\test.txt" As CommonDialog1.filename
  980.   ProgressBar1.Value = 0
  981. End If
  982. End Sub
  983. Private Sub SpinButton1_SpinDown(Index As Integer)
  984. If Index < 10 Then
  985.   If Val(Label3(Index)) <= 1 Then
  986.     Label3(Index) = "10"
  987.   Else
  988.     Label3(Index) = Val(Label3(Index)) - 1
  989.     Select Case Index
  990.     Case 0
  991.       EnigmaControl1.RotorOrder1 = Val(Label3(Index))
  992.     Case 1
  993.       EnigmaControl1.RotorOrder2 = Val(Label3(Index))
  994.     Case 2
  995.       EnigmaControl1.RotorOrder3 = Val(Label3(Index))
  996.     Case 3
  997.       EnigmaControl1.RotorOrder4 = Val(Label3(Index))
  998.     Case 4
  999.       EnigmaControl1.RotorOrder5 = Val(Label3(Index))
  1000.     Case 5
  1001.       EnigmaControl1.RotorOrder6 = Val(Label3(Index))
  1002.     Case 6
  1003.       EnigmaControl1.RotorOrder7 = Val(Label3(Index))
  1004.     Case 7
  1005.       EnigmaControl1.RotorOrder8 = Val(Label3(Index))
  1006.     Case 8
  1007.       EnigmaControl1.RotorOrder9 = Val(Label3(Index))
  1008.     Case 9
  1009.       EnigmaControl1.RotorOrder10 = Val(Label3(Index))
  1010.     End Select
  1011.   End If
  1012.   If Val(Label3(Index)) < 0 Then
  1013.     Label3(Index) = "255"
  1014.   Else
  1015.     Label3(Index) = Val(Label3(Index)) - 1
  1016.     Select Case Index
  1017.     Case 10
  1018.       EnigmaControl1.RingSetting1 = Val(Label3(Index))
  1019.     Case 11
  1020.       EnigmaControl1.RingSetting2 = Val(Label3(Index))
  1021.     Case 12
  1022.       EnigmaControl1.RingSetting3 = Val(Label3(Index))
  1023.     Case 13
  1024.       EnigmaControl1.RingSetting4 = Val(Label3(Index))
  1025.     Case 14
  1026.       EnigmaControl1.RingSetting5 = Val(Label3(Index))
  1027.     Case 15
  1028.       EnigmaControl1.RingSetting6 = Val(Label3(Index))
  1029.     Case 16
  1030.       EnigmaControl1.RingSetting7 = Val(Label3(Index))
  1031.     Case 17
  1032.       EnigmaControl1.RingSetting8 = Val(Label3(Index))
  1033.     Case 18
  1034.       EnigmaControl1.RingSetting9 = Val(Label3(Index))
  1035.     Case 19
  1036.       EnigmaControl1.RingSetting10 = Val(Label3(Index))
  1037.     Case 20
  1038.       EnigmaControl1.StartPosition1 = Val(Label3(Index))
  1039.     Case 21
  1040.       EnigmaControl1.StartPosition2 = Val(Label3(Index))
  1041.     Case 22
  1042.       EnigmaControl1.StartPosition3 = Val(Label3(Index))
  1043.     Case 23
  1044.       EnigmaControl1.StartPosition4 = Val(Label3(Index))
  1045.     Case 24
  1046.       EnigmaControl1.StartPosition5 = Val(Label3(Index))
  1047.     Case 25
  1048.       EnigmaControl1.StartPosition6 = Val(Label3(Index))
  1049.     Case 26
  1050.       EnigmaControl1.StartPosition7 = Val(Label3(Index))
  1051.     Case 27
  1052.       EnigmaControl1.StartPosition8 = Val(Label3(Index))
  1053.     Case 28
  1054.       EnigmaControl1.StartPosition9 = Val(Label3(Index))
  1055.     Case 29
  1056.       EnigmaControl1.StartPosition10 = Val(Label3(Index))
  1057.     End Select
  1058.   End If
  1059. End If
  1060. End Sub
  1061. Private Sub SpinButton1_SpinUp(Index As Integer)
  1062. If Index < 10 Then
  1063.   If Val(Label3(Index)) >= 10 Then
  1064.     Label3(Index) = "1"
  1065.   Else
  1066.     Label3(Index) = Val(Label3(Index)) + 1
  1067.     Select Case Index
  1068.     Case 0
  1069.       EnigmaControl1.RotorOrder1 = Val(Label3(Index))
  1070.     Case 1
  1071.       EnigmaControl1.RotorOrder2 = Val(Label3(Index))
  1072.     Case 2
  1073.       EnigmaControl1.RotorOrder3 = Val(Label3(Index))
  1074.     Case 3
  1075.       EnigmaControl1.RotorOrder4 = Val(Label3(Index))
  1076.     Case 4
  1077.       EnigmaControl1.RotorOrder5 = Val(Label3(Index))
  1078.     Case 5
  1079.       EnigmaControl1.RotorOrder6 = Val(Label3(Index))
  1080.     Case 6
  1081.       EnigmaControl1.RotorOrder7 = Val(Label3(Index))
  1082.     Case 7
  1083.       EnigmaControl1.RotorOrder8 = Val(Label3(Index))
  1084.     Case 8
  1085.       EnigmaControl1.RotorOrder9 = Val(Label3(Index))
  1086.     Case 9
  1087.       EnigmaControl1.RotorOrder10 = Val(Label3(Index))
  1088.     End Select
  1089.   End If
  1090.   If Val(Label3(Index)) > 255 Then
  1091.     Label3(Index) = "0"
  1092.   Else
  1093.     Label3(Index) = Val(Label3(Index)) + 1
  1094.     Select Case Index
  1095.     Case 10
  1096.       EnigmaControl1.RingSetting1 = Val(Label3(Index))
  1097.     Case 11
  1098.       EnigmaControl1.RingSetting2 = Val(Label3(Index))
  1099.     Case 12
  1100.       EnigmaControl1.RingSetting3 = Val(Label3(Index))
  1101.     Case 13
  1102.       EnigmaControl1.RingSetting4 = Val(Label3(Index))
  1103.     Case 14
  1104.       EnigmaControl1.RingSetting5 = Val(Label3(Index))
  1105.     Case 15
  1106.       EnigmaControl1.RingSetting6 = Val(Label3(Index))
  1107.     Case 16
  1108.       EnigmaControl1.RingSetting7 = Val(Label3(Index))
  1109.     Case 17
  1110.       EnigmaControl1.RingSetting8 = Val(Label3(Index))
  1111.     Case 18
  1112.       EnigmaControl1.RingSetting9 = Val(Label3(Index))
  1113.     Case 19
  1114.       EnigmaControl1.RingSetting10 = Val(Label3(Index))
  1115.     Case 20
  1116.       EnigmaControl1.StartPosition1 = Val(Label3(Index))
  1117.     Case 21
  1118.       EnigmaControl1.StartPosition2 = Val(Label3(Index))
  1119.     Case 22
  1120.       EnigmaControl1.StartPosition3 = Val(Label3(Index))
  1121.     Case 23
  1122.       EnigmaControl1.StartPosition4 = Val(Label3(Index))
  1123.     Case 24
  1124.       EnigmaControl1.StartPosition5 = Val(Label3(Index))
  1125.     Case 25
  1126.       EnigmaControl1.StartPosition6 = Val(Label3(Index))
  1127.     Case 26
  1128.       EnigmaControl1.StartPosition7 = Val(Label3(Index))
  1129.     Case 27
  1130.       EnigmaControl1.StartPosition8 = Val(Label3(Index))
  1131.     Case 28
  1132.       EnigmaControl1.StartPosition9 = Val(Label3(Index))
  1133.     Case 29
  1134.       EnigmaControl1.StartPosition10 = Val(Label3(Index))
  1135.     End Select
  1136.   End If
  1137. End If
  1138. End Sub
  1139.